<div class="wrap">
    <!--家具顾问 -->
    <div class="wrap-content">
        <div class="wrap-content-warp clearfix" *ngIf="houseAdviser.name">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="{{houseAdviser.iconUrl}}" onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span [attr.title]="houseAdviser.name">{{houseAdviser.name}}</span>
                    <span>家居顾问</span>
                </div>
                <span class="sex-ico-m" *ngIf="houseAdviser.sex === 'sex_man'"></span>
                <span class="sex-ico-w" *ngIf="houseAdviser.sex === 'sex_woman'"></span>
            </div>
            <div class="warp-right" style="padding-top:6px;">
                <div class="row width-360">
                    <div class="cell width-98 height-27 p-40 opacity06">手机号码：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{houseAdviser.mobile}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">性别：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{houseAdviser.sexDic}}
                    </div>
                </div>
                <div class="row width-408">
                    <div class="cell width-98 opacity06">所属组织：</div>
                    <div class="cell width-305 height-54  m-l-5 ellipsis1">
                        {{houseAdviser.orgName}}
                    </div>
                </div>
            </div>
        </div>

    </div>
    <!--家具顾问end -->

    <!--监理 -->
    <div class="wrap-content  m-t-30" *ngIf="sendOrderStatus == 'sendorderstatus_180108000057'">
        <div class="wrap-content-warp clearfix">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="{{supervisor.iconUrl}}" onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span [attr.title]="supervisor.name">{{supervisor.name}}</span>
                    <span>监理</span>
                </div>
                <span class="sex-ico-m" *ngIf="supervisor.sex === 'sex_man'"></span>
                <span class="sex-ico-w" *ngIf="supervisor.sex === 'sex_woman'"></span>
                <div class="evaluate">
                        <a class="color-1a91eb" target="_blank" [routerLink]="['/saas/engineer/constructionprocess/serviceteam/punish', data.id, data.code,'supervisor',supervisor.userCode]">
                        <button pButton type="button" label="查看评价" class="btn btn-secondary"></button>
                    </a>
                </div>
            </div>
            <div class="warp-right">
                <div class="row width-360">
                    <div class="cell width-98 height-27 p-40 opacity06">手机号码：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{supervisor.mobile}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">性别：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{supervisor.sexDic}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">在施工地数量：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{supervisor.workingCount}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">满意度：</div>
                    <div class="cell width-215 height-27  m-l-5">
                      {{supervisor.passRate}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">回单率：</div>
                    <div class="cell width-215 height-27  m-l-5">
                      {{supervisor.backOrderRate}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">服务类处罚：</div>
                    <div class="cell width-215 height-27  m-l-5">
                       {{supervisor.servicePunish}}
                    </div>
                </div>
                <div class="row width-408">
                    <div class="cell width-98 opacity06">所属组织：</div>
                    <div class="cell width-305 height-54  m-l-5 ellipsis1">
                        {{supervisor.orgName}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">最大接单量：</div>
                    <div class="cell width-305 height-27  m-l-5">
                        {{supervisor.maxCount}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">投诉率：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{supervisor.complainRate}}
                    </div>
                    <div class="cell width-98 height-27 opacity06">一般处罚：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{supervisor.generalPunish}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">安全事故处罚：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{supervisor.accidentPunish}}
                    </div>
                </div>
            </div>
        </div>

    </div>
    <!--监理end -->

    <!--项目经理 -->
    <div class="wrap-content  m-t-30" *ngIf="sendOrderStatus == 'sendorderstatus_180108000057'">
        <div class="wrap-content-warp clearfix">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="{{foreman.iconUrl}}" onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span [attr.title]="foreman.name">{{foreman.name}}</span>
                    <span>项目经理</span>
                </div>
                <span class="sex-ico-m" *ngIf="foreman.sex === 'sex_man'"></span>
                <span class="sex-ico-w" *ngIf="foreman.sex === 'sex_woman'"></span>
                <div class="evaluate">
                    <a class="color-1a91eb" target="_blank" [routerLink]="['/saas/engineer/constructionprocess/serviceteam/punish', data.id, data.code,'team',foreman.userCode]">
                      <button pButton type="button" label="查看评价"  class="btn btn-secondary"></button>
                    </a>
                </div>
            </div>
            <div class="warp-right">
                <div class="row width-360">
                    <div class="cell width-98 height-27 p-40 opacity06">手机号码：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{foreman.mobile}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">性别：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{foreman.sexDic}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">在施工地数量：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{foreman.workingCount}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">满意度：</div>
                    <div class="cell width-215 height-27  m-l-5">
                      {{foreman.passRate}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">回单率：</div>
                    <div class="cell width-215 height-27  m-l-5">
                      {{foreman.backOrderRate}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">服务类处罚：</div>
                    <div class="cell width-215 height-27  m-l-5">
                      {{foreman.servicePunish}}
                    </div>
                </div>
                <div class="row width-408">
                    <div class="cell width-98 opacity06">项目工队：</div>
                    <div class="cell width-305 height-54  m-l-5 ellipsis1">
                        {{foreman.teamName}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">最大接单量：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{foreman.maxCount}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">投诉率：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{foreman.complainRate}}
                    </div>
                    <div class="cell width-98 height-27 opacity06">一般处罚：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{foreman.generalPunish}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">安全事故处罚：</div>
                    <div class="cell width-305 height-27  m-l-5">
                      {{foreman.accidentPunish}}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--项目经理end -->

    <!--工人 -->
    <div class="wrap-content  m-t-30" *ngFor="let item of worker">
        <div class="wrap-content-warp clearfix">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="{{item.iconUrl}}"  onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span [attr.title]="item.name">{{item.name}}</span>
                    <span>工人</span>
                </div>
                <span class="sex-ico-m" *ngIf="item.sex === 'sex_man'"></span>
                <span class="sex-ico-w" *ngIf="item.sex === 'sex_woman'"></span>
            </div>
            <div class="warp-right">
                <div class="row width-360">
                    <div class="cell width-98 height-27 p-40 opacity06">手机号码：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{item.mobile}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">性别：</div>
                    <div class="cell width-215 height-27  m-l-5">
                        {{item.sexDic}}
                    </div>
                    <div class="cell width-98 height-27 p-40 opacity06">总接单量：</div>
                    <div class="cell width-215 height-27  m-l-5">

                    </div>
                </div>
                <div class="row width-408">
                    <div class="cell width-98 height-27  opacity06">工种：</div>
                    <div class="cell width-305 height-27  m-l-5">
                        {{item.workTypeDic}}
                    </div>
                    <div class="cell width-98 height-27  opacity06">在施工地数量：</div>
                    <div class="cell width-305 height-27  m-l-5">

                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--工人end -->


    <!--监理无数据 -->
    <div class="wrap-content  m-t-30" *ngIf="sendOrderStatus != 'sendorderstatus_180108000057' && sendOrderStatus != ''">
        <div class="wrap-content-warp clearfix">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="/assets/imgs/defaultIcon.png" onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span>监理</span>
                </div>
            </div>
            <div class="warp-right">
                <div class="cell height-27 p-40 opacity06 p-t-6">{{content}}</div>
            </div>
        </div>
    </div>
    <!--监理无数据 end -->


    <!--项目经理无数据 -->
    <div class="wrap-content  m-t-30" *ngIf="sendOrderStatus != 'sendorderstatus_180108000057' && sendOrderStatus != ''">
        <div class="wrap-content-warp clearfix">
            <div class="warp-left">
                <div class="img-warp">
                    <img src="/assets/imgs/defaultIcon.png" onError="this.src='/assets/imgs/defaultIcon.png'">
                </div>
                <div class="img-position">
                    <span>项目经理</span>
                </div>
            </div>
            <div class="warp-right">
                <div class="cell height-27 p-40 opacity06 p-t-6">{{content}}</div>
            </div>
        </div>
    </div>
    <!--项目经理无数据 end -->

  <!--工人无数据 -->
  <div class="wrap-content  m-t-30" *ngIf="sendOrderStatus == 'sendorderstatus_180108000057' && (worker == null || worker.length==0)">
    <div class="wrap-content-warp clearfix">
      <div class="warp-left">
        <div class="img-warp">
          <img src="/assets/imgs/defaultIcon.png" onError="this.src='/assets/imgs/defaultIcon.png'">
        </div>
        <div class="img-position">
          <span>工人</span>
        </div>
      </div>
      <div class="warp-right">
        <div class="cell height-27 p-40 opacity06 p-t-6">项目经理还未组建团队</div>
      </div>
    </div>
  </div>
  <!--工人无数据 end -->
</div>
